<!DOCTYPE html>
<html lang="UTF-8" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>添加页面</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
        }

        h1 {
            text-align: center;
            color: #333;
        }

        form {
            margin: 20px auto;
            width: 300px;
        }

        label {
            display: block;
            margin-bottom: 10px;
        }

        input[type="text"] {
            width: 100%;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }

        input[type="submit"] {
            margin-top: 50px;
            width: 100%;
            background-color: #4CAF50;
            color: white;
            padding: 10px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
    </style>
</head>
<body>
<h1>修改信息</h1>
<form action="/list/edit" method="post">
    <label>Id</label>
    <input type="text" disabled name="id" th:value="${student.id}" readonly/></br>
    <label>名字</label>
    <input type="text" name="name" th:value="${student.name}"/></br>
    <label>年龄</label>
    <input type="text" name="age" th:value="${student.age}"/></br>
    <input type="submit" value="修改">
</form>
</body>
</html>